<%@ page import="cn.lanqiao.entity.User" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2>用户列表-UserServlet</h2>
<h5>
  <%List<User> list = (List<User>) request.getAttribute("userList");
    for(User user : list){
      out.print(user + "<br>");
    }
  %>
</h5>
</body>
</html>
